package cn.cboard.gateway;

import java.io.Serializable;

/**
 * @author
 * 
 * Interface for all Defns used by the SQLDAO
 * 
 * @see SQLDAO
 *
 */

public interface SQLDefn extends Serializable{

	/**
	 * @return the maximum number of rows to return from the query
	 */
	public int getMaxRows();

	/**
	 * @return the suggested fetch size
	 */
	public int getFetchSize();

	/**
	 * @return the SQL query to execute
	 */
	public String getSQL();

	/**
	 * @return the converter object to use
	 */
	public ResultSetConverter getConverter();
	
	/**
	* @return the Prep.Stmt. Object parameters
	 */
	public Object[] getParams();
	
	
}
